.wrap {
  display: flex;
  max-height: 70vh;
  min-height: 500px;
}

.accounts-wrap {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  position: relative;
  & > header {
    color: #333;
    flex-shrink: 0;
    padding: 0 20px 10px;
  }
  &::after {
    background-color: #f0f0f0;
    bottom: 0;
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 1px;
  }
}

.accounts {
  flex: 1;
  overflow-y: auto;
  padding-bottom: 20px;
  position: relative;
  width: 320px;
  z-index: 1;
  &::-webkit-scrollbar {
    width: 0px;
  }
}

.qywxs-panel {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}
.filter {
  align-items: center;
  display: flex;
  margin-bottom: 20px;
  padding: 0 20px;
  white-space: nowrap;
  :global(.ant-input-affix-wrapper) {
    margin-left: 20px;
    width: 20em;
  }
}
.refresh-wrap {
  flex: 1;
}
.refresh {
  margin-left: 20px;
  color: #1890ff;
  cursor: pointer;
  :global(.anticon) {
    margin-right: 4px;
  }
}
.refresh.loading {
  cursor: auto;
  :global(.anticon) {
    animation: loading 1s linear infinite;
  }
}
@keyframes loading {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.offline-tips {
  font-size: 14px;
  color: #999;
  margin-left: 20px;
  margin-bottom: 30px;
}
.empty-qywxs {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qywxs-wrap {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
  .batch-actions a {
    margin-right: 0.5em;
  }
}
.qywxs-wrap > header {
  align-items: center;
  color: #999;
  display: flex;
  flex-shrink: 0;
  font-size: 12px;
  padding: 0 20px 8px 30px;
  :global(.ant-checkbox-wrapper) {
    margin-right: 1em;
  }
  .tip {
    width: calc(14.3em + 40px);
  }
  .wxid {
    width: 12.8em;
  }
  .hostname {
    flex: 1;
  }
}

.qywxs {
  flex: 1;
  overflow-y: auto;
}
